﻿using System;

using XConductor.Domain.Seedwork.Capturing.Exceptions;

namespace XConductor.Domain.Seedwork.Capturing
{
    public class CaptureRuntimeExceptionEventArgs : CaptureEventArgs
    {
        public CaptureRuntimeExceptionEventArgs(Object state)
            : base(state)
        { }

        public CaptureRuntimeExceptionEventArgs(Object state, CaptureSessionRuntimeException exception)
            : base(state)
        {
            this.Exception = exception;
        }

        public CaptureSessionRuntimeException Exception { get; protected set; }
    }
}
